var app = angular.module('FusionV3', []);

app.controller('serverController', [ '$scope', '$http', function($scope, $http) {

	$scope.checkLogin = function() {
		
		$http.post("rest/account/login", {
			userName : $scope.userName,
			password : $scope.password
		}).success(function(data) {
			
			
			
			debugger
			console.log(data);
		}).error(function(data) {
			console.log(data);
		});

	}

} ]);